DX11 IS KEY DOWN

Returns the state of the given key.
Keys correspond to the DIK_XXX constants available in the DX11Defines.dba include file.

  Syntax
Return Boolean = DX11 IS KEY DOWN(key)
  Parameters
key
Integer
The key identifier to check the state of (see the DIK_XXX constants for valid values).

  Returns

The state of the key; true if it is pressed and false otherwise.

  See also

INPUT Functions Menu
DX11 Function Categories